package com.googlecode.monitoring.ws;


import com.googlecode.monitoring.SystemRunner;
import com.googlecode.monitoring.config.SpringApplicationContext;
import org.apache.log4j.Logger;

/**
 * Author: Sergiy Doroshenko
 * Date: Jun 15, 2010
 * Time: 11:26:09 AM
 */
public class WsAgentStarter {
	private static Logger log = Logger.getLogger(WsAgentStarter.class);

	public static void main(String[] args) throws Exception {
		SpringApplicationContext.setContextLocation(new String[]{"classpath*:ws-app-config.xml"});
		log.debug("ws monitoring run");
		SystemRunner.run();
	}
}
